.class final Lcom/estrongs/android/ui/dialog/j$f;
.super Ljava/lang/Object;
.source "AssociateAppDialog.java"

# interfaces
.implements Ljava/lang/Comparable;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/estrongs/android/ui/dialog/j;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x1a
    name = "f"
.end annotation

.annotation system Ldalvik/annotation/Signature;
    value = {
        "Ljava/lang/Object;",
        "Ljava/lang/Comparable<",
        "Lcom/estrongs/android/ui/dialog/j$f;",
        ">;"
    }
.end annotation


# static fields
.field private static e:Ljava/text/Collator;

.field public static f:Ljava/lang/String;

.field public static g:Ljava/lang/String;


# instance fields
.field public a:Ljava/lang/String;

.field public b:Ljava/lang/String;

.field public c:Z

.field d:Z


# direct methods
.method static constructor <clinit>()V
    .locals 1

    .line 1
    invoke-static {}, Ljava/text/Collator;->getInstance()Ljava/text/Collator;

    move-result-object v0

    sput-object v0, Lcom/estrongs/android/ui/dialog/j$f;->e:Ljava/text/Collator;

    const/4 v0, 0x0

    .line 2
    sput-object v0, Lcom/estrongs/android/ui/dialog/j$f;->f:Ljava/lang/String;

    sput-object v0, Lcom/estrongs/android/ui/dialog/j$f;->g:Ljava/lang/String;

    return-void
.end method

.method private constructor <init>()V
    .locals 1

    .line 1
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    const/4 v0, 0x0

    .line 2
    iput-object v0, p0, Lcom/estrongs/android/ui/dialog/j$f;->b:Ljava/lang/String;

    iput-object v0, p0, Lcom/estrongs/android/ui/dialog/j$f;->a:Ljava/lang/String;

    const/4 v0, 0x0

    .line 3
    iput-boolean v0, p0, Lcom/estrongs/android/ui/dialog/j$f;->c:Z

    return-void
.end method

.method public static a(Landroid/content/pm/PackageManager;Landroid/content/pm/ApplicationInfo;)Lcom/estrongs/android/ui/dialog/j$f;
    .locals 4

    if-nez p1, :cond_0

    const/4 p0, 0x0

    return-object p0

    .line 6
    :cond_0
    new-instance v0, Lcom/estrongs/android/ui/dialog/j$f;

    invoke-direct {v0}, Lcom/estrongs/android/ui/dialog/j$f;-><init>()V

    .line 7
    iget-object v1, p1, Landroid/content/pm/ApplicationInfo;->packageName:Ljava/lang/String;

    iput-object v1, v0, Lcom/estrongs/android/ui/dialog/j$f;->b:Ljava/lang/String;

    iput-object v1, v0, Lcom/estrongs/android/ui/dialog/j$f;->a:Ljava/lang/String;

    .line 8
    iget v1, p1, Landroid/content/pm/ApplicationInfo;->flags:I

    const/4 v2, 0x1

    and-int/2addr v1, v2

    const/4 v3, 0x0

    if-lez v1, :cond_1

    goto :goto_0

    :cond_1
    const/4 v2, 0x0

    :goto_0
    iput-boolean v2, v0, Lcom/estrongs/android/ui/dialog/j$f;->d:Z

    .line 9
    :try_start_0
    iget-object v1, p1, Landroid/content/pm/ApplicationInfo;->packageName:Ljava/lang/String;

    invoke-virtual {p0, v1, v3}, Landroid/content/pm/PackageManager;->getApplicationInfo(Ljava/lang/String;I)Landroid/content/pm/ApplicationInfo;

    move-result-object v1

    invoke-virtual {p0, v1}, Landroid/content/pm/PackageManager;->getApplicationLabel(Landroid/content/pm/ApplicationInfo;)Ljava/lang/CharSequence;

    move-result-object p0

    invoke-interface {p0}, Ljava/lang/CharSequence;->toString()Ljava/lang/String;

    move-result-object p0

    iput-object p0, v0, Lcom/estrongs/android/ui/dialog/j$f;->a:Ljava/lang/String;
    :try_end_0
    .catch Landroid/content/pm/PackageManager$NameNotFoundException; {:try_start_0 .. :try_end_0} :catch_0

    .line 10
    :catch_0
    iget-object p0, p1, Landroid/content/pm/ApplicationInfo;->packageName:Ljava/lang/String;

    sget-object p1, Lcom/estrongs/android/ui/dialog/j$f;->f:Ljava/lang/String;

    invoke-virtual {p0, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result p0

    iput-boolean p0, v0, Lcom/estrongs/android/ui/dialog/j$f;->c:Z

    return-object v0
.end method


# virtual methods
.method public a(Lcom/estrongs/android/ui/dialog/j$f;)I
    .locals 3

    const/4 v0, 0x1

    if-eqz p1, :cond_5

    .line 1
    iget-object v1, p1, Lcom/estrongs/android/ui/dialog/j$f;->b:Ljava/lang/String;

    sget-object v2, Lcom/estrongs/android/ui/dialog/j$f;->g:Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_0

    goto :goto_1

    .line 2
    :cond_0
    iget-object v1, p0, Lcom/estrongs/android/ui/dialog/j$f;->b:Ljava/lang/String;

    sget-object v2, Lcom/estrongs/android/ui/dialog/j$f;->g:Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    const/4 v2, -0x1

    if-eqz v1, :cond_2

    if-nez p1, :cond_1

    goto :goto_0

    :cond_1
    const/4 v0, -0x1

    :goto_0
    return v0

    .line 3
    :cond_2
    iget-boolean v1, p0, Lcom/estrongs/android/ui/dialog/j$f;->d:Z

    if-eqz v1, :cond_3

    iget-boolean v1, p1, Lcom/estrongs/android/ui/dialog/j$f;->d:Z

    if-nez v1, :cond_3

    return v0

    .line 4
    :cond_3
    iget-boolean v0, p0, Lcom/estrongs/android/ui/dialog/j$f;->d:Z

    if-nez v0, :cond_4

    iget-boolean v0, p1, Lcom/estrongs/android/ui/dialog/j$f;->d:Z

    if-eqz v0, :cond_4

    return v2

    .line 5
    :cond_4
    sget-object v0, Lcom/estrongs/android/ui/dialog/j$f;->e:Ljava/text/Collator;

    iget-object v1, p0, Lcom/estrongs/android/ui/dialog/j$f;->a:Ljava/lang/String;

    iget-object p1, p1, Lcom/estrongs/android/ui/dialog/j$f;->a:Ljava/lang/String;

    invoke-virtual {v0, v1, p1}, Ljava/text/Collator;->compare(Ljava/lang/String;Ljava/lang/String;)I

    move-result p1

    return p1

    :cond_5
    :goto_1
    return v0
.end method

.method public bridge synthetic compareTo(Ljava/lang/Object;)I
    .locals 0

    .line 1
    check-cast p1, Lcom/estrongs/android/ui/dialog/j$f;

    invoke-virtual {p0, p1}, Lcom/estrongs/android/ui/dialog/j$f;->a(Lcom/estrongs/android/ui/dialog/j$f;)I

    move-result p1

    return p1
.end method

.method public equals(Ljava/lang/Object;)Z
    .locals 3

    const/4 v0, 0x1

    if-ne p0, p1, :cond_0

    return v0

    .line 1
    :cond_0
    instance-of v1, p1, Lcom/estrongs/android/ui/dialog/j$f;

    const/4 v2, 0x0

    if-eqz v1, :cond_2

    .line 2
    check-cast p1, Lcom/estrongs/android/ui/dialog/j$f;

    invoke-virtual {p0, p1}, Lcom/estrongs/android/ui/dialog/j$f;->a(Lcom/estrongs/android/ui/dialog/j$f;)I

    move-result p1

    if-nez p1, :cond_1

    goto :goto_0

    :cond_1
    const/4 v0, 0x0

    :goto_0
    return v0

    :cond_2
    return v2
.end method
